package com.qf.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.qf.pojo.DtsAdmin;

/**
 * @author 千峰教育
 * @Company http://www.mobiletrain.org/
 * @Version 1.0
 */
public interface AdminAdminService {

    IPage<DtsAdmin> queryPage(Integer page, Integer limit, String username, String sort, String order);

    boolean findByUsername(String username);

    DtsAdmin insert(DtsAdmin admin);

    DtsAdmin update(DtsAdmin admin);

    int deleteById(Integer id);
}
